package com.anjubao.parking.municipal.user.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 用户账号信息
 * @author zhuchunfeng
 * @date 2019/6/19 13:35
 */
@Data
@ApiModel("用户账号基本信息")
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.ALWAYS)
@AllArgsConstructor
@NoArgsConstructor
public class UserInfoDto {

    @ApiModelProperty("16位用户编号")
    private String userCode;

    @ApiModelProperty("unionId")
    private String unionId;

    @ApiModelProperty("车牌号")
    private List<UserVehicleDto> vehicles;

    @ApiModelProperty("账户余额 单位分")
    private Integer balance;

    @ApiModelProperty("是否新注册用户 1是 0否")
    private Integer newAccount;


}
